package com.kgdev.cweb.beans;

import java.util.List;

import com.kgdev.cweb.entities.ManagedEntity;

public interface EJBBean<T extends ManagedEntity, K> {
	
	T find(K id);

	List<T> findAll();

	void add(T entity);

	void edit(T entity);

}
